<h1 style="text-align: center;">{list_product_title} {CatName}</h1>
<div class="tools">
{btn_tool}
</div>
<div style="clear:both;height: 5px;">&nbsp;</div>

<div class="paging">{paging}</div>
<table class="tbl_cms" width="100%" border="1" cellspacing="0" cellpadding="0">
    <!--Tieu De Bang-->
    <tr class="tbl_header">
        <td class="cell_1 center_text" style="cursor:pointer;" title="{title_1}"><input onclick="checkAll()" name="all"
                                                                                        type="checkbox" value="all"/>
        </td>
        <td class="center_text">{title_2}</td>
        <td class="center_text">{title_4}</td>
        <td class="center_text">{title_5} / {Mail_sms}</td>
        <td class="cell_3 center_text">{title_6}</td>
        <td class="cell_3 center_text">{title_3}</td>
    </tr>
    <!--Noi Dung Bang-->
    [OPEN htmlproduct]
    [LOOP product]
    <tr class="tbl_content tr{ID} class_{Status}">
        <td class="cell_1"><input name="delId[]" type="checkbox" value="{ID}"/></td>
        <td class="center_text"><span onclick="processChecked('{Status_v{ID}}','{ID}','')"><a href="{url_edit}{id}"
                                                                                              onclick="return hs.htmlExpand(this, {
        objectType: 'iframe', width: 900,
        creditsPosition: 'bottom left',
        headingEval: 'this.a.title',
        wrapperClassName: 'titlebar' } );"
                                                                                              title="{title_editor}">{BuyFullname}</a></span>
        </td>
        <td class="center_text" title="{PostDate}"><span>{PostDate}</span></td>
        <td class="center_text" id="email{ID}" title="{BuyEmail}"><span><a href="{link_edit_email{ID}}"
                                                                           onclick="return hs.htmlExpand(this, {
        objectType: 'iframe', width: 900,
        creditsPosition: 'bottom left',
        headingEval: 'this.a.title',
        wrapperClassName: 'titlebar' } );"
                                                                           title="{Mail_sms}">{BuyEmail}</a></span></td>
        <td class="center_text" title="{sent_mail_{ID}}" id="btn_{ID}"><span><input type="button" id="btn_sent{ID}" {disable{ID}}  value="{sent_mail_{ID}}" onclick="sentmail('{BuyEmail}','{Status}','{ID}')"><input
            type="hidden" id="amount{ID}" value="{amount_sent{ID}}"></span></td>
        <td class="cell_3 status{ID}">{{Status}}</td>
    </tr>
    [/LOOP product]
    [LOOP btn_notview]

        <input type="button" id="but_notview" disabled="disabled" class="but_tool butx" type="button"
               value=" {notview_btn} " onclick="processChecked('notview','')"/>


    [/LOOP btn_notview]
    [LOOP btn_process]


        <input type="button" id="but_process" disabled="disabled" class="but_tool butx" type="button"
               value=" {process_btn} " onclick="processChecked('process','')"/>


    [/LOOP btn_process]
    [LOOP btn_finished]


        <input type="button" id="but_finished" disabled="disabled" class="but_tool butx" type="button"
               value=" {finish_btn} " onclick="processChecked('finished','')"/>


    [/LOOP btn_finished]
    [LOOP btn_cancel]


        <input type="button" id="but_cancel" disabled="disabled" class="but_tool butx" type="button" value=" {cancel_btn} "
               onclick="processChecked('cancel','')"/>


    [/LOOP btn_cancel]
    [LOOP btn_checkout]


        <input type="button" id="but_checkout" disabled="disabled" class="but_tool butx" type="button"
               value=" {checkout_btn} " onclick="processChecked('checkout','')"/>

    [/LOOP btn_checkout]
    [LOOP btn_delete]


        <input type="button" id="but_delete" disabled="disabled" class="but_tool butx" type="button" value=" {delete} "
               onclick="processChecked('delete','')"/>

    [/LOOP btn_delete]

    [CLOSE htmlproduct]
</table>
<div class="paging">{paging}</div>